Total Complexity | 91 |
Dependencies | 9 |
Dependents | 2 |
Total lines | 748 |
Lines of code | 352 |
Logical lines of code | 194 |
Comment lines | 229 |
Methods | 25 |
Properties | 11 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
activate() | 36 | 11 | 76 | |
sync() | 40 | 11 | 56 | |
init_license() | 51 | 13 | 25 | |
get_downloadable_package_info() | 56 | 6 | 18 | |
save_license_data() | 59 | 5 | 14 | |
get_package_updates() | 59 | 4 | 14 | |
cancel_paid_subscription() | 59 | 4 | 13 | |
get_user_ip() | 58 | 3 | 17 | |
__construct() | 63 | 4 | 10 | |
get_package_download_url() | 59 | 3 | 14 | |
deactivate() | 55 | 2 | 19 | |
get_unique_site_id() | 63 | 3 | 9 | |
get_api_user_scope() | 69 | 3 | 6 | |
get_api_site_scope() | 69 | 3 | 6 | |
get_billing_cycle() | 72 | 2 | 6 | |
get_plan() | 72 | 2 | 6 | |
get_api_plugin_scope() | 69 | 2 | 6 | |
is_active() | 72 | 2 | 6 | |
has_paid_subscription() | 71 | 2 | 6 | |
get_license() | 82 | 1 | 3 | |
is_activate() | 82 | 1 | 3 | |
get_license_endpoint() | 80 | 1 | 3 | |
get_plugin_endpoint() | 80 | 1 | 3 | |
flush_license_data() | 66 | 1 | 9 | |
delete_license_data() | 77 | 1 | 4 |